import java.util.Scanner;

public class method {
    public static void main(String[] args) {
        System.out.println("请输入两个整数");
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int sum = add(a,b);
        System.out.println("这两个数的和为"+sum);
    }
    public static int add(int x,int y){
        int ret;
        ret=x+y;
        return ret;
    }
}
